evaluate
Evaluates the given expression for the node and returns XPathResult of the XPathResultType.ANY type.
Since
8.0.0
Throws
if expression is empty or blank.
if this method fails to evaluate the expression.
if this node is closed.
public final static XPathResult evaluate(Node $self, XPathExpression expression, XPathResultType type)
public final static XPathResult evaluate(Node $self, XPathExpression expression, XPathResultType type)
Evaluates the given expression for the node and returns XPathResult of the given type.
Since
8.0.0
Throws
if expression is empty or blank.
if this method fails to evaluate the expression or return a result of the given type.
if this node is closed.